<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Goods extends Model
{
    protected $table='goods';
    protected $guarded=[];

    public function comment(){
        return $this->hasMany('App\Model\Comment');
    }
    public function ordersInfo(){
        return $this->hasMany('App\Model\OrdersInfo');
    }
}
